-- GENERATED SPELL FOR [Celebras the Redeemed] --


function spell0_13716(pUnit, Event) --4Create Scepter of Celebras,n/a--
pUnit:FullCastSpellOnTarget(21939,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13716', 1500, 1)
end

function Sorts_13716(pUnit, Event)
local choix_sorts_13716 = math.random(0, 0)
if choix_sorts_13716 == 0 then
pUnit:RegisterEvent('spell0_13716', 1, 1)
end
end

function mob13716_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13716', math.random(1500, 3000), 1)
end

function mob13716_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13716_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13716_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13716, 1, 'mob13716_Action')
RegisterUnitEvent(13716, 2, 'mob13716_Leave')
RegisterUnitEvent(13716, 3, 'mob13716_Kill')
RegisterUnitEvent(13716, 4, 'mob13716_Die')
